from BeautifulReport import BeautifulReport
import unittest

def send_baogao():
    report=unittest.defaultTestLoader.discover(start_dir='./',pattern='Case.py')
    port=BeautifulReport(report)
    port.report(filename='web.html',description='测试报告')

if __name__ == '__main__':
    send_baogao()
